export default [
  {
    path: "",
    redirect: "/login",
  },

  {
    path: "/login",
    component: () => import("@/views/login.vue"),
    meta: { icon: "Grid", title: "登录" },
  },

  {
    path: "/intelligentlighting",
    component: () => import("@/layout/index.vue"),
    meta: {
      title: "智能照明",
      icon: "zhaoming.png",
      width: "16px",
      height: "16px",
    },
    children: [
      {
        path: "/intelligentlighting/illuminationsignage",
        component: () =>
          import("@/views/intelligentlighting/illuminationsignage"),
        meta: {
          title: "照明看板",
        },
      },
      {
        path: "/intelligentlighting/lightingmonitoring",
        component: () =>
          import("@/views/intelligentlighting/lightingmonitoring"),
        meta: {
          title: "照明监控",
        },
      },
      {
        path: "/intelligentlighting/manage",
        component: () => import("@/views/intelligentlighting/strategicmanage"),
        meta: {
          title: "策略管理",
        },
      },
    ],
  },

  {
    path: "/user",
    component: () => import("@/layout/index.vue"),
    redirect: "/user/list",
    meta: {
      title: "用户管理",
      icon: "yonghuguanli.png",
      width: "18px",
      height: "17px",
    },
    children: [
      {
        path: "/user/list",
        component: () => import("@/views/user/userlist"),
        meta: {
          title: "用户列表",
        },
      },
      {
        path: "/user/role",
        component: () => import("@/views/user/role"),
        meta: {
          title: "角色设置",
        },
      },
      {
        path: "/user/menu",
        component: () => import("@/views/user/menu"),
        meta: {
          title: "菜单管理",
        },
      },
    ],
  },
];
export const asyncRoute = [];
